package cn.dmrliu.edu.publish.service.impl;

import cn.dmrliu.edu.publish.bean.ToolVideoChapter;
import cn.dmrliu.edu.publish.mapper.ToolVideoChapterMapper;
import cn.dmrliu.edu.publish.service.ToolVideoChapterService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ToolVideoChapterServiceImpl implements ToolVideoChapterService {

    @Autowired
    ToolVideoChapterMapper toolVideoChapterMapper;

    @Override
    public List<ToolVideoChapter> getToolVideoChapter(Integer date) {
        return toolVideoChapterMapper.selectVideoChapter(date);
    }
}
